﻿namespace ServerRPG
{
    static class Messages
    {
        // Сообщения клиента.
        public const string CLIENT_LOGIN             = "C0";
        public const string CLIENT_LOGOUT            = "C1";
        public const string CLIENT_XY                = "C2";
        public const string CLIENT_MOVE              = "C3";
        public const string CLIENT_CLIENTS_ONLINE    = "C4";
        public const string CLIENT_MESSAGE           = "C5";
        public const string CLIENT_MESSAGE_TO_SERVER = "C6";
        public const string CLIENT_SENDTOALL         = "C7";
        public const string CLIENT_SERVER_STOP       = "C8";
        public const string CLIENT_ZONE              = "C9";

        public const string CLIENT_CREATURE_DAMAGE   = "CA";
        
        // Сообщения сервера.
        public const string SERVER_CLIENTS_ONLINE    = "S0";
        public const string SERVER_CLIENT_LOGIN      = "S1";
        public const string SERVER_CLIENT_LOGOUT     = "S2";
        public const string SERVER_CLIENT_TELE       = "S3";
        public const string SERVER_CLIENT_MOVE       = "S4";
        public const string SERVER_CLIENT_ZONE       = "S5";

        public const string SERVER_CREATURE_SPAWN    = "S6";
        public const string SERVER_CREATURE_STATE    = "S7";
    }
}
